package com.rao.gmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rao.gmall.model.list.Goods;
import com.rao.gmall.model.product.SkuInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author nzmxfan
 * @create 2021-08-06-0:25
 */
@Service
public interface SkuInfoService extends IService<SkuInfo> {

    void saveSkuInfo(SkuInfo skuInfo);

    void onSale(Long skuId);

    void cancelSale(Long skuId);

    List<Long> getAllId();

}
